#pragma once

#include <irrlicht.h>
#include "driverChoice.h"

using namespace irr;


class Sphere
{
private:
    scene::ISceneNode *m_Node;

    core::vector3df m_Velocity;

    float m_Mass;
public:
    Sphere( void ) {}
    Sphere( scene::ISceneNode *node );
    ~Sphere( void );

    core::vector3df &GetVelocity( void ) { return m_Velocity; }
    core::vector3df GetPosition( void ) { return m_Node->getAbsolutePosition(); }

    float GetMass( void ) { return m_Mass; }
    float GetRadius( void ) { return 0.175f; }
	scene::ISceneNode *GetNode( void ) { return m_Node; }

    void SetVelocity( core::vector3df vel ) { m_Velocity = vel; }
    void SetMass( float mass ) { m_Mass = mass; };
	void SetHeight( float height ) { m_Node->setPosition( core::vector3df( m_Node->getPosition().X, height, m_Node->getPosition().Z ) ); }
	void SetBIG(){ m_Node->setScale(core::vector3df(2,2,2)); }

    void Update( void );
};

